import { createRouter, createWebHashHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'

const routes = [
  {
    path: '/',
    name: 'home',
    component: HomeView
  },
  {
    path: '/about',
    name: 'about',
    component: () => import('../views/AboutView.vue')
  },
  {
    path: '/other',
    name: 'other',
    component: () => import('../views/OtherView.vue')
  },
  {
    path: '/peixun',
    name: 'peixun',
    component: () => import('../views/PeiView.vue')
  },
  {
    path:'/zhushi',
    name:'zhushi',
    component:()=>import('../views/ZhuShiView.vue')
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
